package com.nhncorp.pleiades.msg;

import java.io.Serializable;

public class NeptuneMessage implements Serializable {

  private static final long serialVersionUID = 1L;
  private String hostName;
  private int messageType;
  
  public NeptuneMessage() {
    hostName = "";
    messageType = NeptuneMessageType.TYPE.TABLET_FAIL.ordinal();
  }
  public NeptuneMessage(String name, int type) {
    hostName = name;
    messageType = type;
  }

  public String getHostName() {
    return hostName;
  }

  public void setHostName(String tabletServer) {
    this.hostName = tabletServer;
  }

  public int getMessageType() {
    return messageType;
  }

  public void setMessageType(int messageType) {
    this.messageType = messageType;
  }
}
